
	* Replication file for "Fiscal Implications of the Populist Radical Right in Power" published in Journal of European Public Policy. 
	
		* Please use the dataset in the same dataverse. 
			* You will find a description of the variables in the paper as well as in the Online Appendix
	
		* The analysis was conducted using STATA MP 17 (64-bit). 
		* The following packages were used 
		
			* ebalance  |  Distribution-Date: 20150130  Note: We encountered convergence issues with different STATA versions using ebalance. In some earlier versions of stata, we had to adjust the balanced moments, leading to slightly different results. 
			* mdesc | Distribution-Date: 20110825
	
	
	
		* The dataverse entails a variable description. Its based on Table C1 in the Online Appendix but variable names are added to facilitate replication. 


	
	
	******  STRUCTURE OF THE DO-FILE  ********
	*# Part I - Data-Processing 
	*# Part II - Descriptive Analysis 	
	*# Part III -  Analysis 	
	*# Part IV -  Robustness 
	
		
		* Temporal assignment | country and years
		xtset countryn year
		duplicates list countryn year
		
	
		
		
	*# Part I - Data-Processing #*
		
		* Generate deficits - Reversed coding as provided | higher values higher deficits
		replace deficit_r = deficit * (-1)
		replace pbal_r = pbal * (-1)
		
		
		*1.1* Analysis of missings 
		
			
				* Missings of potential confounders 
			mdesc prrp_gov_ua deficit_r realgdpgr debt elderly unemp  bcrisis_fade rai_fiscal cabinet_ml_seatstand edp res_revenue pbal_r
			sort country
				
				* Spending 
			* by country: mdesc  outlays receipts socexp_t_pmp oldage_pmp  unemp_pmp  family_pmp 
			order country year prrp_gov_ua  outlays receipts socexp_t_pmp oldage_pmp  unemp_pmp  family_pmp , first
			
				* Revenue 
			mdesc receipts tax_inc_sc tax_income 
		
		
		
		*1.2* Adjustment of comparability of starting conditions | we assign dummies for the year before a new cabient starts and impute the values of relevant controls for cabinet years to follow. Than we compare starting conditions of
			* governments including PRRPs with the startng conditions of all other cabinets in the sample. 
		
			
			* Assign pre-government conditions for relevant controls 
		
					sort country
					by country: mdesc  realgdpgr debt unemp elderly  emu pbal_r  deficit_r bcrisis_fade rai_fiscal  
					gen realgdpgr_start = realgdpgr[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen debt_start = debt[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen unemp_start = unemp[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen elderly_start = elderly[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen pbal_r_start = pbal_r[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen deficit_r_start = deficit_r[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen outlays_start = outlays[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen receipts_start = receipts[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen tax_inc_sc_start = tax_inc_sc[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen tax_income_start = tax_income[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen socexp_t_pmp_start = socexp_t_pmp[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen oldage_pmp_start = oldage_pmp[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen family_pmp_start = family_pmp[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					gen unemp_pmp_start = unemp_pmp[_n-1] if cabinet[_n]!=cabinet[_n-1] & country[_n]==country[_n-1]
					
			
					order country year cabinet debt debt_start, first
					egen realgdpgr_pre=max(realgdpgr_start), by (cabinet country)
					egen debt_pre=max(debt_start), by (cabinet country)
					egen unemp_pre=max(unemp_start), by (cabinet country)
					egen elderly_pre=max(elderly_start), by (cabinet country)
					egen pbal_r_pre=max(pbal_r_start), by (cabinet country)
					egen deficit_r_pre=max(deficit_r_start), by (cabinet country)
					egen outlays_pre=max(outlays_start), by (cabinet country)
					egen receipts_pre=max(receipts_start), by (cabinet country)
					egen tax_inc_sc_pre=max(tax_inc_sc_start), by (cabinet country)
					egen tax_income_pre=max(tax_income_start), by (cabinet country)
					egen socexp_t_pmp_pre=max(socexp_t_pmp_start), by (cabinet country)
					egen oldage_pmp_pre=max(oldage_pmp_start), by (cabinet country)
					egen family_pmp_pre=max(family_pmp_start), by (cabinet country)
					egen unemp_pmp_pre=max(unemp_pmp_start), by (cabinet country)
		
		
		
	*# Part II - Descriptive Analysis #*
		
		
		*2.1* Overview of distribution of starting conditions and other potential confounders 
			
		
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre  unemp_pre edp elderly bcrisis_fade   rai_fiscal edp 	res_revenue , tar(1)
			
			ebalance prrp_gov_ua deficit_r deficit_r_pre debt_pre realgdpgr_pre  unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue , tar(1)
			
			ebalance prrp_gov_ua pbal_r deficit_r deficit_r_pre debt_pre realgdpgr_pre  unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue , tar(1)

	
		*2.2* East and west conditions 
		
			ebalance east deficit_r_pre debt_pre realgdpgr_pre  unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue receipts_pre  tax_inc_sc_pre  tax_income_pre outlays_pre socexp_t_pmp_pre oldage_pmp_pre family_pmp_pre unemp_pmp_pre, tar(1)
		
	
			* Check potential comfounders impact on DV's | what is asociated with deficits? | Table 1 in the paper

			xtpcse deficit_r  realgdpgr debt_pre elderly  deficit_r_pre  unemp_pre rai_fiscal bcrisis_fade  edp, c(psar1)
			xtpcse deficit_r  deficit_r_pre, c(psar1)
			xtpcse deficit_r  bcrisis_fade, c(psar1)
			xtpcse deficit_r  edp, c(psar1)
			xtpcse deficit_r  rai_fiscal, c(psar1)
			xtpcse deficit_r  elderly, c(psar1)
			xtpcse deficit_r  unemp_pre, c(psar1)
			xtpcse deficit_r  realgdpgr_pre, c(psar1)
			xtpcse deficit_r  debt_pre, c(psar1)
			xtpcse deficit_r   deficit_r_pre, c(psar1)
			xtpcse deficit_r   res_revenue, c(psar1)

			
			
	*# Part III -  Analysis #*	
			

	
		*3.1* modelling the fiscal footprint  - Summarized in Table 2 in the paper
		
	
			* Effect of PPRPs on deficit - Models summarized in Table 2 in the paper
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue, tar(1)   // Depending on the Stata version we achieved different convergence levels (tar(1) versus tar(2) | results are substantially the same
					
			meglm deficit_r prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 1
			
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 2

			
			* Benchmark sensitivity - Using market liberalism of government as additional control || Reported in Table 2
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue cabinet_ml_seatstand, tar(1)
			
			meglm deficit_r prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp cabinet_ml_seatstand i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 1b
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp cabinet_ml_seatstand  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 2b


				
			* Spending categories - Models summarized in Table 2 in paper
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			
			meglm outlays prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 3
			meglm outlays prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 4
			
			meglm socexp_t_pmp prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 5
			meglm socexp_t_pmp prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 6

			meglm oldage_pmp prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 7
			meglm oldage_pmp prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 8
			
			meglm family_pmp prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 9
			meglm family_pmp prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 10
			
			meglm unemp_pmp prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 11
			meglm unemp_pmp prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 12
			
			
			* Revenue categories - models summarized in Table 2 in paper
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			
			meglm receipts prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 13
			meglm receipts prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 14
			
			meglm tax_inc_sc prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 15
			meglm tax_inc_sc prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 16
			
			meglm tax_income prrp_gov_ua elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 17
			meglm tax_income prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp i.countryn [iweight = _webal],   || year:  || cabinet_number: // Model Nr. 18
			
			
		
			
	*# Part IV -  Robustness #*	
		
				
		* 4.1 Exclusion of controls - The idea is to test the sensivity of the findings towards the inclusion and exclusion of controls. 
			/// The exclusion of controls provides transparency about the sensitvity. || Reported in Table D1 Online Appendix
			
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp , tar(1) // excluded: res_revenue
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp   i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal  res_revenue, tar(3) // excluded: edp
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue   i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre edp elderly bcrisis_fade  edp res_revenue, tar(3) // excluded: rai_fiscal
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre   bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre edp elderly  rai_fiscal edp res_revenue, tar(1) // excluded: bcrisis_fade
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal  deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre edp  bcrisis_fade rai_fiscal edp res_revenue, tar(1) // excluded: elderly
			meglm deficit_r c.prrp_gov_ua##east  realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre  edp elderly bcrisis_fade rai_fiscal edp res_revenue, tar(1) // excluded: unemp_pre
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre     rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre  unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue, tar(1) // excluded: realgdpgr_pre
			meglm deficit_r c.prrp_gov_ua##east elderly  debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre  realgdpgr_pre unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue, tar(3) // excluded: debt_pre
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre    unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua  debt_pre realgdpgr_pre unemp_pre edp elderly bcrisis_fade rai_fiscal edp res_revenue, tar(3) // excluded: deficit_r_pre
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade  edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

	
		* 4.2  specification sensitivity || Reported in Table D1 Online Appendix
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue i.countryn  [iweight = _webal],   || year:   // no cabinet level

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue i.countryn  [iweight = _webal],   || cabinet_number:  // no year level

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue i.countryn  [iweight = _webal],     // no year level
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue   [iweight = _webal],    || year:  || countryn:  || cabinet_number:   // all three levels  // no convergence

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue i.countryn i.year  [iweight = _webal],    || cabinet_number:   // year fixed effects

			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue i.countryn,   || year:  || cabinet_number:  // no balancing

			meglm deficit_r c.prrp_gov_ua##east  i.countryn,   || year:  || cabinet_number:  // no balancing, no controls
	
		
		
		* 4.3 country-wise exclusion || Reported in Table D1 Online Appendix
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Australia", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Australia",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Austria", tar(3)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Austria",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Belgium", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Belgium",   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Bulgaria", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Bulgaria",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Canada", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Canada",   || year:  || cabinet_number: 
		
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Croatia", tar(3)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Croatia",   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Cyprus", tar(3)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Cyprus",   || year:  || cabinet_number: 
		
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Czech Republic", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Czech Republic",   || year:  || cabinet_number: 
		
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Denmark", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Denmark",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Estonia", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Estonia",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Finland", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Finland",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="France", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="France",   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Germany", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Germany",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Greece", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Greece",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Iceland", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Iceland",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Ireland", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Ireland",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Italy", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Italy",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Japan", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Japan",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Luxembourg", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Luxembourg",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Netherlands", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Netherlands",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="New Zealand", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="New Zealand",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Norway", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Norway",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="United Kingdom", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="United Kingdom",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="United States", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="United States",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Sweden", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Sweden",   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Switzerland", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Switzerland",   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Portugal", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Portugal",   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Spain", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Spain",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Hungary", tar(3)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Hungary",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Latvia", tar(3)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Latvia",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Lithuania", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Lithuania",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Poland", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Poland",   || year:  || cabinet_number: 
	
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Romania", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Romania",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Slovakia", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Slovakia",   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue if  country!="Slovenia", tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal] if  country!="Slovenia",   || year:  || cabinet_number: 
			
					
		*# 4.5 Visegárd instead of the East || Reported in Table D1 Online Appendix
				
			gen vis = 0
			replace vis = 1 if country=="Poland" | country=="Slovakia" | country=="Hungary" | country=="Czech Republic"  
		
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre  elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##vis elderly realgdpgr_pre debt_pre   unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre edp res_revenue  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

				
		*# 4.6 Time sensitivity || Reported in Table D1 Online Appendix
				
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue, tar(2)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year>1985, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year>1990, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year>1995, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year>2000, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year<2015, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year<2010, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year<2005, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 
			
			ebalance prrp_gov_ua deficit_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue if year<2000, tar(1)
			meglm deficit_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade deficit_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 
			
			
		*# 4.7 Primary balance instead of deficit_r  || Reported in D1 Online Appendix
			
			
			ebalance prrp_gov_ua pbal_r_pre debt_pre realgdpgr_pre unemp_pre elderly bcrisis_fade rai_fiscal edp res_revenue, tar(1)
			meglm pbal_r c.prrp_gov_ua##east elderly realgdpgr_pre debt_pre unemp_pre  rai_fiscal bcrisis_fade pbal_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 

			
		*# 4.8 Growth and unemployment exogenous || Reported in D1 Online Appendix
		
			ebalance prrp_gov_ua pbal_r_pre debt_pre realgdpgr unemp elderly bcrisis_fade rai_fiscal edp res_revenue, tar(1)
			meglm pbal_r c.prrp_gov_ua##east elderly realgdpgr debt_pre unemp  rai_fiscal bcrisis_fade pbal_r_pre res_revenue edp  i.countryn [iweight = _webal],   || year:  || cabinet_number: 
			
			
			

			



